Programming with QuickTime VR

| Previous | Chapter contents | Chapter top | Section top | Next |

QTVRGetCurrentViewDuration

You can use the QTVRGetCurrentViewDuration function to get the duration of the current view of an object node.

TimeValue QTVRGetCurrentViewDuration (QTVRInstance qtvr);
qtvr
An instance of a QuickTime VR movie.
function result
The interval of time from the beginning to the end of the current view.

DESCRIPTION

The QTVRGetCurrentViewDuration function returns, as its function result, the duration of the current view of the object node specified by the qtvr parameter.

SPECIAL CONSIDERATIONS

QTVRGetCurrentViewDuration is valid only for object nodes.

You cannot change a node's view duration.


© 1997 Apple Computer, Inc.

| Previous | Chapter contents | Chapter top | Section top | Next |